<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5><span>
                            <vc:i18n name="入驻流程" namespace="ownerSettledSettingManage"></vc:i18n>
                        </span></h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-white btn-sm" v-on:click="vc.goBack()">
                            <vc:i18n name="返回"></vc:i18n>
                        </button>
                        <button type="button" class="btn btn-white btn-sm" v-on:click="_queryOwnerSettledSettingMethod()">
                            <vc:i18n name="刷新"></vc:i18n>
                        </button>
                        <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_openAddOwnerSettledSettingModal()" v-if="ownerSettledSettingManageInfo.ownerSettledSettings.length <1">
                                <vc:i18n name="添加" namespace="ownerSettledSettingManage"></vc:i18n>
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center"><span>
                                        <vc:i18n name='编号' namespace='ownerSettledSettingManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='设置名称' namespace='ownerSettledSettingManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='物业审核' namespace='ownerSettledSettingManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='流程名称' namespace='ownerSettledSettingManage'></vc:i18n>
                                    </span></th>
                                    <th class="text-center"><span>
                                        <vc:i18n name='状态' namespace='ownerSettledSettingManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='备注' namespace='ownerSettledSettingManage'></vc:i18n>
                                    </span></th>
                                <th class="text-center"><span>
                                        <vc:i18n name='操作'></vc:i18n>
                                    </span></th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="ownerSettledSetting in ownerSettledSettingManageInfo.ownerSettledSettings">
                                <td class="text-center">{{ownerSettledSetting.settingId}}</td>
                                <td class="text-center">{{ownerSettledSetting.settingName}}</td>
                                <td class="text-center">{{ownerSettledSetting.auditWay == 'Y'?'是':'否'}}</td>
                                <td class="text-center" v-if="ownerSettledSetting.auditWay == 'Y'">{{ownerSettledSetting.flowName}}(<a
                                        href="javascript:void(0)" @click="_settingFlow(ownerSettledSetting)">设置流程</a>)</td>
                                <td class="text-center" v-else>-</td>
                                <td class="text-center" v-if="ownerSettledSetting.auditWay == 'Y'">{{ownerSettledSetting.state == 'C'?'已部署':'待部署'}}</td>
                                <td class="text-center" v-else>-</td>
                                <td class="text-center">{{ownerSettledSetting.remark}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <div class="btn-group"
                                        v-if="ownerSettledSetting.state == 'W' && ownerSettledSetting.auditWay == 'Y'">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeployWorkflow(ownerSettledSetting)">
                                            <span>
                                                <vc:i18n name="部署流程" namespace="ownerSettledSettingManage"></vc:i18n>
                                            </span>
                                        </button>
                                    </div>
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditOwnerSettledSettingModel(ownerSettledSetting)"><span>
                                                <vc:i18n name='修改'></vc:i18n>
                                            </span></button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>



    <vc:create path="owner/addOwnerSettledSetting" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="owner/editOwnerSettledSetting"></vc:create>

</div>